<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>逾期订单</title>
    <link rel="stylesheet" href="/Public/admin/css/gxxj/public_O.css">
    <style type="text/css">
        html {
            background: #fff;
            height: 100%;
        }
    </style>
</head>
<body style="padding:10px;">

<div>
    <table class="search_table" style="width: 100%">
        <tr>
            <th>还款订单号</th>
            <th>逾期订单号</th>
            <th>逾期罚金</th>
            <th>应还款时间</th>
            <th>操作</th>
        </tr>
        <volist name="data" id="vo">
            <tr>
                <td><{$vo.repayment_no}></td>
                <td><{$vo.overdue_no}></td>
                <td><{$vo.repay_money}></td>
                <td><{$vo.repay_time}></td>
                <if condition="($vo.check_status eq '1')">
                    <td>
                        <a>  <span class="bg_color_green color_white table_span" style="font-size: small "
                                   onclick="reduce_fine('<{$vo.repayment_no}>','<{$vo.overdue_no}>')">申请减免</span></a>
                    </td>
                    <else/>
                    <td>
                        <a> <span class="bg_color_green color_white table_span" style="font-size: small ; background-color: gray "
                                 ><{$vo.check_result}></span></a>
                    </td>
                </if>
            </tr>
        </volist>
    </table>
</div>

<script type="text/javascript" src="/Public/admin/js/jquery.min.js"></script>

<script src="/Public/admin/js/layer/layer.js"></script>
<script src="/Public/admin/js/layui/layui.js"></script>

<script>
        function reduce_fine(repayment_no,overdue_no) {
            var vid = "<{$vid}>";
            layer.open({
                title: '申请减免罚息',
                type: 2,
                area: ['80%', '80%'],
                maxmin: true,
                offset: '100px',
                content: '<{$SRVER_NAME}>/admin.php/UserInfo/reduce_fine.html?vid=' + vid+'&repayment_no='+repayment_no+'&overdue_no='+overdue_no,
                success: function (layero) {
                    layero.find('.layui-layer-min').remove();
                }
            });
        }

</script>
</body>
</html>